<div th:if="${userid}">
<li><a th:href="@{'/user/doclist/'+${sysmember.userid}}"><!--<img th:src="@{'/photo/'+${sysmemeber.userid}}" />--><img th:src="${sysmember.photo!=null} ? ${sysmember.photo} : @{/img/photo.png}" /></a></li>
<li><a th:href="@{'/user/doclist/'+${sysmember.userid}}"><span th:text="${sysmember.nickname}" th:remove="tag"></span> </a></li>
<li><a th:href="@{/user/center}">我的后台</a></li>
<li class="i"></li>
<li><a href="center/message.html">消息</a></li>
<li class="i"></li>
<li><a href="/logout">退出</a></li>
</div>
<div th:unless="${userid}">
<li><a href="/login">登录</a></li>
<li class="i"></li>
<li><a href="/login">注册</a></li>
</div>